Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #80: add Google Analytics to templates #97

Conversation

richmahn
Copy link
Member

To test:

Checkout the latest gogs-custom into your custom directory

In your custom/conf/app.ini add these lines:

[other]
GA_TRACKING_ID = UA-1111111-2

Run gitea web

You should now, in the source of a page of Gogs see the GA script tags at the very bottom with UA-111111-2 in the ga('create', 'UA-1111111-2', 'auto');.

@codecov-io
Copy link

codecov-io commented Nov 23, 2016

Current coverage is 3.13% (diff: 100%)

Merging #97 into develop will not change coverage

@@           develop       #97   diff @@
========================================
  Files           34        34          
  Lines         8135      8135          
  Methods          0         0          
  Messages         0         0          
  Branches         0         0          
========================================
  Hits           255       255          
  Misses        7860      7860          
  Partials        20        20          

Powered by Codecov. Last update 1fa996b...2787276

@richmahn richmahn force-pushed the feature/fixes-80-add-google-analytics-to-templates branch from ad1b658 to 2787276 Compare November 23, 2016 17:02
@richmahn richmahn closed this Nov 23, 2016
@richmahn richmahn reopened this Nov 23, 2016
@richmahn richmahn merged commit e518cca into unfoldingWord:develop Nov 23, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants